package com.goods.Mapper;

import com.goods.Pojo.Goods;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsMapper {
    void AddGoods(Goods goods);

    void UpdateGoods(Goods goods);

    List<Goods> SearchGoods(@Param("name") String goodsName, @Param("fac") String factory);

    void DelGoods(@Param("goodsId") Integer id);

    Goods getByid(Integer id);

    List<Goods> searchlist();
}
